package cn.com.cifi.mars.bean.vo.price;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
* @Description:  货值版本变动信息
* @Author: wy
* @Date:
*/

@Data
@ApiModel(value="货值版本变动信息",description="货值版本变动信息")
public class PriceValueCompareVO {

    @ApiModelProperty(value="id", name="id")
    private String id;

    @ApiModelProperty(value="pid", name="pid")
    private String pid;

    @ApiModelProperty(value="code", name="code")
    private String code;

    @ApiModelProperty(value="name", name="name")
    private String name;

    @ApiModelProperty(value="type", name="type")
    private String type;

    @ApiModelProperty(value="是否是车位(1:是 0:否)", name="isParking")
    private Integer isParking;

    @ApiModelProperty(value="变更详情", name="detailList")
    private List<PriceValueCompareDetailVO> detailList;

    @ApiModelProperty(value="变更前套数/个数", name="changeBeforeNum")
    private Integer changeBeforeNum;

    @ApiModelProperty(value="变更前面积", name="changeBeforeArea")
    private BigDecimal changeBeforeArea;

    @ApiModelProperty(value="变更后套数/个数", name="changeAfterNum")
    private Integer changeAfterNum;

    @ApiModelProperty(value="变更后面积", name="changeAfterArea")
    private BigDecimal changeAfterArea;

    @ApiModel(value="变更类型详情", description="变更类型详情")
    @Data
    public static class PriceValueCompareDetailVO{
        @ApiModelProperty(value="变更类型", name="changeType")
        private String changeType;

        @ApiModelProperty(value="变更详情", name="changeDetail")
        private String changeDetail;
    }

}
